package com.cqw.commontest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: caoqingwen
 * @CreateTime: 2022-01-16 21:40
 * @Description:
 */
@RestController
@RequestMapping("/abstract")
public class AbstractController {

    @Autowired
    private AbstractBaseService1 abstractBase;


    @GetMapping("/test")
    public String test() {
        abstractBase.test();
        return "OK";
    }

}
